<%@ page contentType="text/html;charset=UTF-8" language="java" errorPage="error.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>信息工程学院在线考试系统</title>
</head>
<body>
<div style="float:right">
    <c:choose>
        <c:when test="${sessionScope.username != null}">
            ${sessionScope.username}(<a href="logout.do">登出</a>)
        </c:when>
        <c:otherwise>
            <a href="index.jsp">请登录</a>
        </c:otherwise>
    </c:choose>
</div>
